package  
{
	import points.CollidePoint;
	/**
	 * ...
	 * @author parasitic
	 */
	public class PointArray extends Array 
	{

		public function pushPoint(c:CollidePoint):void
		{
			if (c instanceof CollidePoint)
			{
				super.push(c);
			}
		}
		
		public function testEvery(item:CollidePoint, index:int, array:Array):Boolean
		{
			//should it be null?
			return this.every(item.testArray, null)
		}
		
		public function testList(other:PointArray):Boolean
		{
			//should it be null?
			return other.every(this.testEvery, null);
		}
		
	}

}